<?php
$config->uniqueIndexes = [
    TABLE_ATTEND => ['date', 'account'],
    TABLE_ATTENDSTAT => ['month', 'account'],
    TABLE_BASICMEAS => ['code'],
    TABLE_CFD => ['execution', 'type', 'name', 'date'],
    TABLE_CONFIG => ['vision', 'owner', 'module', 'section', 'key'],
    TABLE_DEMANDREVIEW => ['demand', 'version', 'reviewer'],
    TABLE_DEMANDSPEC => ['demand', 'version'],
    TABLE_DEPLOYPRODUCT => ['deploy', 'product', 'release'],
    TABLE_DESIGNSPEC => ['design', 'version'],
    TABLE_DOCCONTENT => ['doc', 'version'],
    TABLE_DUCKDBQUEUE => ['object'],
    TABLE_EXTENSION => ['code'],
    TABLE_FEEDBACKVIEW => ['account', 'product'],
    TABLE_GAPANALYSIS => ['project', 'account'],
    TABLE_GROUPPRIV => ['group', 'module', 'method'],
    TABLE_INTERVENTION => ['project', 'activity'],
    TABLE_KANBANCELL => ['kanban', 'type', 'lane', 'column'],
    TABLE_LANG => ['lang', 'module', 'section', 'key', 'vision'],
    TABLE_MEASRECORDS => ['year', 'month', 'day', 'week'],
    TABLE_OAUTH => ['account', 'openID', 'providerType', 'providerID'],
    TABLE_PIVOTSPEC => ['pivot', 'version'],
    TABLE_PLANSTORY => ['plan', 'story'],
    TABLE_PRACTICE => ['code'],
    TABLE_PRIV => ['module', 'method'],
    TABLE_PRIVLANG => ['objectID', 'objectType', 'lang'],
    TABLE_PRIVRELATION => ['priv', 'type', 'relationPriv'],
    TABLE_PROJECTADMIN => ['group', 'account'],
    TABLE_PROJECTCASE => ['project', 'case'],
    TABLE_PROJECTSPEC => ['project', 'version'],
    TABLE_PROJECTSTORY => ['project', 'story'],
    TABLE_RELATION => ['product', 'relation', 'AType', 'BType', 'AID', 'BID'],
    TABLE_REPOBRANCH => ['repo', 'revision', 'branch'],
    TABLE_REPORT => ['code'],
    TABLE_REVIEWRESULT => ['review', 'reviewer', 'type'],
    TABLE_RISKISSUE => ['risk', 'issue'],
    TABLE_ROADMAPSTORY => ['roadmap', 'story'],
    TABLE_SEARCHINDEX => ['objectType', 'objectID'],
    TABLE_STORYESTIMATE => ['story', 'round'],
    TABLE_STORYREVIEW => ['story', 'version', 'reviewer'],
    TABLE_STORYSPEC => ['story', 'version'],
    TABLE_STORYSTAGE => ['story', 'branch'],
    TABLE_SUITECASE => ['suite', 'case'],
    TABLE_TASKSPEC => ['task', 'version'],
    TABLE_TEAM => ['root', 'type', 'account'],
    TABLE_TESTRUN => ['task', 'case'],
    TABLE_USER => ['account'],
    TABLE_USERGROUP => ['account', 'group'],
    TABLE_USERVIEW => ['account'],
    TABLE_WEEKLYREPORT => ['project', 'weekStart'],
    TABLE_WORKFLOW => ['group', 'app', 'module', 'vision'],
    TABLE_WORKFLOWACTION => ['group', 'module', 'action', 'vision'],
    TABLE_WORKFLOWFIELD => ['group', 'module', 'field'],
    TABLE_WORKFLOWLAYOUT => ['group', 'module', 'action', 'ui', 'field', 'vision'],
    TABLE_WORKFLOWLINKDATA => ['objectType', 'objectID', 'linkedType', 'linkedID'],
    TABLE_WORKFLOWRELATIONLAYOUT => ['prev', 'next', 'action', 'ui', 'field'],
    TABLE_WORKFLOWVERSION => ['module', 'version']
];
